AirSize = cc.Sprite.extend({
	ctor:function(p){
		this._super("#air/air_side_bg.png");
		this.setPosition(gg.c_p);
		p.addChild(this, 50, TAG_AIR_SIDE_NODE);
		this.init();
	},
	init:function(){
		this.setCascadeOpacityEnabled(true);
		this.setOpacity(0);
		var side = new cc.Sprite("#air/air_side.png");
		side.setPosition(this.width * 0.5, this.height * 0.5);
		this.addChild(side);
		var air_bt = new Button(this, 10, TAG_AIR_SIDE_BT, "#air/air_bt.png", this.callback);
		air_bt.setPosition(531, 223);
		this.runAction(cc.fadeIn(0.5));
	},
	callback:function(){
		var dtl=new cc.Sprite("#air/dtl1.png");
		dtl.setPosition(620, 280);
		this.addChild(dtl);
		var func = cc.callFunc(function(){
			dtl.setSpriteFrame("air/dtl2.png");
		}, this)
		var func2 = cc.callFunc(function(){
			gg.flow.next();
			this.removeFromParent(true);
		}, this)
		var seq = cc.sequence(cc.delayTime(0.2), func, cc.delayTime(0.5), cc.fadeOut(0.5), func2);
		this.runAction(seq);
	}
});